<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class ID3v1</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class ID3v1</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class represents a file containing ID3v1 headers as described in  <a href="http://www.id3.org/id3v2-00">The ID3-Tag Specification Appendix</a>.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Ryan Butterfield &lt;<a href="mailto:buttza@gmail.com">buttza@gmail.com</a>&gt;</li>
				<li><span class="field">author:</span> Sven Vollbehr &lt;<a href="mailto:svollbehr@gmail.com">svollbehr@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> $Rev: 107 $</li>
				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
				<li><span class="field">license:</span> <a href="http://code.google.com/p/php-reader/wiki/License">New BSD License</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_ID3v1.php.html">/ID3v1.php</a> (line <span class="field">55</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
												<div class="var-title">
					static <span class="var-type">Array</span>
					<a href="#$genres" title="details" class="var-name">$genres</a>
				</div>
																							</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																				
												<div class="method-definition">
											<span class="method-result">ID3v1</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">string|<a href="../../php-reader/Reader.html">Reader</a></span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getAlbum" title="details" class="method-name">getAlbum</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getArtist" title="details" class="method-name">getArtist</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getComment" title="details" class="method-name">getComment</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getGenre" title="details" class="method-name">getGenre</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getTitle" title="details" class="method-name">getTitle</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getTrack" title="details" class="method-name">getTrack</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getYear" title="details" class="method-name">getYear</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setAlbum" title="details" class="method-name">setAlbum</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$album</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setArtist" title="details" class="method-name">setArtist</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$artist</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setComment" title="details" class="method-name">setComment</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$comment</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setGenre" title="details" class="method-name">setGenre</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$genre</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setTitle" title="details" class="method-name">setTitle</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setTrack" title="details" class="method-name">setTrack</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$track</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setYear" title="details" class="method-name">setYear</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$year</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#write" title="details" class="method-name">write</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#__get" title="details" class="method-name">__get</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#__set" title="details" class="method-name">__set</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$genres" id="$genres"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">Array</span>
			<span class="var-name">$genres</span>
			 = <span class="var-default">array<br />    (&quot;Blues&quot;, &quot;Classic Rock&quot;, &quot;Country&quot;, &quot;Dance&quot;, &quot;Disco&quot;, &quot;Funk&quot;, &quot;Grunge&quot;,<br />     &quot;Hip-Hop&quot;, &quot;Jazz&quot;, &quot;Metal&quot;, &quot;New Age&quot;, &quot;Oldies&quot;, &quot;Other&quot;, &quot;Pop&quot;, &quot;R&amp;B&quot;,<br />     &quot;Rap&quot;, &quot;Reggae&quot;, &quot;Rock&quot;, &quot;Techno&quot;, &quot;Industrial&quot;, &quot;Alternative&quot;, &quot;Ska&quot;,<br />     &quot;Death Metal&quot;, &quot;Pranks&quot;, &quot;Soundtrack&quot;, &quot;Euro-Techno&quot;, &quot;Ambient&quot;,<br />     &quot;Trip-Hop&quot;, &quot;Vocal&quot;, &quot;Jazz+Funk&quot;, &quot;Fusion&quot;, &quot;Trance&quot;, &quot;Classical&quot;,<br />     &quot;Instrumental&quot;, &quot;Acid&quot;, &quot;House&quot;, &quot;Game&quot;, &quot;Sound Clip&quot;, &quot;Gospel&quot;, &quot;Noise&quot;,<br />     &quot;AlternRock&quot;, &quot;Bass&quot;, &quot;Soul&quot;, &quot;Punk&quot;, &quot;Space&quot;, &quot;Meditative&quot;,<br />     &quot;Instrumental Pop&quot;, &quot;Instrumental Rock&quot;, &quot;Ethnic&quot;, &quot;Gothic&quot;, &quot;Darkwave&quot;,<br />     &quot;Techno-Industrial&quot;, &quot;Electronic&quot;, &quot;Pop-Folk&quot;, &quot;Eurodance&quot;, &quot;Dream&quot;,<br />     &quot;Southern Rock&quot;, &quot;Comedy&quot;, &quot;Cult&quot;, &quot;Gangsta&quot;, &quot;Top 40&quot;, &quot;Christian Rap&quot;,<br />     &quot;Pop/Funk&quot;, &quot;Jungle&quot;, &quot;Native American&quot;, &quot;Cabaret&quot;, &quot;New Wave&quot;,<br />     &quot;Psychadelic&quot;, &quot;Rave&quot;, &quot;Showtunes&quot;, &quot;Trailer&quot;, &quot;Lo-Fi&quot;, &quot;Tribal&quot;,<br />     &quot;Acid Punk&quot;, &quot;Acid Jazz&quot;, &quot;Polka&quot;, &quot;Retro&quot;, &quot;Musical&quot;, &quot;Rock &amp; Roll&quot;,<br />     &quot;Hard Rock&quot;, &quot;Folk&quot;, &quot;Folk-Rock&quot;, &quot;National Folk&quot;, &quot;Swing&quot;, &quot;Fast Fusion&quot;,<br />     &quot;Bebob&quot;, &quot;Latin&quot;, &quot;Revival&quot;, &quot;Celtic&quot;, &quot;Bluegrass&quot;, &quot;Avantgarde&quot;,<br />     &quot;Gothic Rock&quot;, &quot;Progressive Rock&quot;, &quot;Psychedelic Rock&quot;, &quot;Symphonic Rock&quot;,<br />     &quot;Slow Rock&quot;, &quot;Big Band&quot;, &quot;Chorus&quot;, &quot;Easy Listening&quot;, &quot;Acoustic&quot;, &quot;Humour&quot;,<br />     &quot;Speech&quot;, &quot;Chanson&quot;, &quot;Opera&quot;, &quot;Chamber Music&quot;, &quot;Sonata&quot;, &quot;Symphony&quot;,<br />     &quot;Booty Bass&quot;, &quot;Primus&quot;, &quot;Porn Groove&quot;, &quot;Satire&quot;, &quot;Slow Jam&quot;, &quot;Club&quot;,<br />     &quot;Tango&quot;, &quot;Samba&quot;, &quot;Folklore&quot;, &quot;Ballad&quot;, &quot;Power Ballad&quot;, &quot;Rhythmic Soul&quot;,<br />     &quot;Freestyle&quot;, &quot;Duet&quot;, &quot;Punk Rock&quot;, &quot;Drum Solo&quot;, &quot;A capella&quot;, &quot;Euro-House&quot;,<br />     &quot;Dance Hall&quot;, 255 =&gt; &quot;Unknown&quot;)</span>			(line <span class="line-number">83</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The genre list.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">121</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructs the ID3v1 class with given file. The file is not mandatory  argument and may be omitted. A new tag can be written to a file also by  giving the filename to the #write method of this class.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">ID3v1</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">string|<a href="../../php-reader/Reader.html">Reader</a></span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string|<a href="../../php-reader/Reader.html">Reader</a></span>
				<span class="var-name">$filename</span><span class="var-description">: The path to the file, file descriptor of an                                 opened file, or <a href="../../php-reader/Reader.html">Reader</a> instance.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetAlbum" id="getAlbum"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getAlbum</span> (line <span class="line-number">193</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the album field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getAlbum
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetArtist" id="getArtist"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getArtist</span> (line <span class="line-number">178</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the artist field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getArtist
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetComment" id="getComment"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getComment</span> (line <span class="line-number">223</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the comment field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getComment
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetGenre" id="getGenre"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getGenre</span> (line <span class="line-number">255</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the genre.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getGenre
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetTitle" id="getTitle"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getTitle</span> (line <span class="line-number">163</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the title field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getTitle
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetTrack" id="getTrack"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getTrack</span> (line <span class="line-number">239</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the track field.</p>
	<ul class="tags">
				<li><span class="field">since:</span> ID3v1.1</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getTrack
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetYear" id="getYear"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getYear</span> (line <span class="line-number">208</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the year field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getYear
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetAlbum" id="setAlbum"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setAlbum</span> (line <span class="line-number">201</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the album field. The field cannot exceed 30  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setAlbum
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$album</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$album</span><span class="var-description">: The album.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetArtist" id="setArtist"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setArtist</span> (line <span class="line-number">186</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the artist field. The field cannot exceed 30  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setArtist
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$artist</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$artist</span><span class="var-description">: The artist.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetComment" id="setComment"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setComment</span> (line <span class="line-number">231</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the comment field. The field cannot exceed 30  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setComment
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$comment</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$comment</span><span class="var-description">: The comment.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetGenre" id="setGenre"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setGenre</span> (line <span class="line-number">272</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the genre field. The value may either be a numerical  code representing one of the genres, or its string variant.</p>
<p class="description"><p>The genre is set to unknown (code 255) in case the string is not found from  the static <a href="../../php-reader/ID3/ID3v1.html#var$genres">$genres</a> array of this class.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setGenre
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$genre</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$genre</span><span class="var-description">: The genre.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTitle" id="setTitle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setTitle</span> (line <span class="line-number">171</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the title field. The field cannot exceed 30  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setTitle
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span><span class="var-description">: The title.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTrack" id="setTrack"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setTrack</span> (line <span class="line-number">248</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the track field. By setting this field you enforce the  1.1 version to be used.</p>
	<ul class="tags">
				<li><span class="field">since:</span> ID3v1.1</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setTrack
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$track</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$track</span><span class="var-description">: The track number.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetYear" id="setYear"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setYear</span> (line <span class="line-number">216</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the year field. The field cannot exceed 4  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setYear
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$year</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$year</span><span class="var-description">: The year.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwrite" id="write"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">write</span> (line <span class="line-number">289</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Writes the possibly altered ID3v1 tag back to the file where it was read.</p>
<p class="description"><p>If the class was constructed without a file name, one can be provided here  as an argument. Regardless, the write operation will override previous  tag information, if found.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			write
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span><span class="var-description">: The optional path to the file.</span>			</li>
				</ul>
		
			
	</div>
<a name="method__get" id="__get"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">__get</span> (line <span class="line-number">310</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Magic function so that $obj-&gt;value will work.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			__get
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The field name.</span>			</li>
				</ul>
		
			
	</div>
<a name="method__set" id="__set"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">__set</span> (line <span class="line-number">324</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Magic function so that assignments with $obj-&gt;value will work.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			__set
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The field name.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: The field value.</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Thu, 01 Jan 2009 14:59:21 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>